package com.kinyx.framework.log.test;

import org.junit.Before;
import org.junit.Test;

import com.kinyx.framework.log.Log;
import com.kinyx.framework.log.Logger;

public class KLogTester {

	protected Log logger;

	@Before
	public void before() {
		this.logger = Logger.getLog(this.getClass());
	}

	@Test
	public void test1() {
		System.out.println("test1 -> LOGGER.debug(null);");
		this.logger.debug(null);
		System.out.println();
	}

	@Test
	public void test2() {
		System.out.println("test2 -> LOGGER.debug(\"foo\");");
		this.logger.debug("foo");
		System.out.println();
	}

	@Test
	public void test3() {
		System.out.println("test3 -> LOGGER.debug(null, new RuntimeException());");
		this.logger.debug(null, new RuntimeException());
		System.out.println();
	}

	@Test
	public void test4() {
		System.out.println("test4 -> LOGGER.debug(\"foo\", new RuntimeException());");
		this.logger.debug("foo", new RuntimeException());
		System.out.println();
	}

}
